import { request } from 'umi';

/** 获取订单信息 GET /api/admin/order/order */
export async function getSearch(params?: Admin.OrderQueryParams, options?: { [key: string]: any }) {
  return request<Admin.PageQueryVO<Admin.Order>>('/api/admin/order/order', {
    method: 'GET',
    params:params,
    ...(options || {}),
  });
}
